<?php

class AllUsersRecipientDeterminationSet extends AbstractRecipientDeterminationSet
{

  public function __construct ()
  {
    $users = sfGuardUserTable::getInstance()->findAll();
    foreach ($users as $user)
    {
      $this->rules[] = new UserIdRecipientDeterminationRule($user->getId());
    }
  }
}